package org.jeecg.modules.appuser.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 盖楼游戏基础表
 * @Author: jeecg-boot
 * @Date:   2020-05-18
 * @Version: V1.0
 */
@Data
@TableName("tb_user_game_buiding")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="tb_user_game_buiding对象", description="盖楼游戏基础表")
public class TbUserGameBuiding implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**用户编号*/
	@Excel(name = "用户编号", width = 15)
    @ApiModelProperty(value = "用户编号")
    private java.lang.String userId;
	/**积分*/
	@Excel(name = "积分", width = 15)
    @ApiModelProperty(value = "积分")
    private java.lang.Integer integral;
	/**等级*/
	@Excel(name = "等级", width = 15)
    @ApiModelProperty(value = "等级")
    private java.lang.String grade;

    @Excel(name = "等级名称", width = 15)
    @ApiModelProperty(value = "等级名称")
    private java.lang.String gradeName;
	/**营业时间*/
	@Excel(name = "营业时间", width = 15)
    @ApiModelProperty(value = "营业时间")
    private java.lang.Integer businessHours;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private java.util.Date updateTime;
	/**状态*/
	@Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    private java.lang.Integer state;

    @TableField(exist = false)
	private Integer  inviteNumber;


    @TableField(exist = false)
    private String  avater;

    @TableField(exist = false)
    private String  userName;

    @TableField(exist = false)
    private String vipName;

    @Excel(name = "总共消耗多少分钟", width = 15)
    @ApiModelProperty(value = "总共消耗多少分钟")
    private java.lang.Integer totalConsumeHours;

    @TableField(exist = false)
    private String productCoinRate;
    @TableField(exist = false)
    private java.lang.String unbusinessProportion;

    @TableField(exist = false)
    private java.lang.String businessProportion;

    private Integer type;

    //需要完成的天数
    private Integer completeDay;

    //当前使用的天数
    private Integer currentDay;
}
